package com.thunbu.lib_common.function;

/**
 * Created by zhouxin on 18/5/23.
 */

@FunctionalInterface
public interface Function<T, R> {

    /**
     * Applies this function to the given argument.
     *
     * @param t the function argument
     * @return the function result
     */
    R apply(T t);
}
